package com.zzb.framework.dict.entity;

import com.baomidou.mybatisplus.annotations.KeySequence;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.zzb.framework.common.BaseEntity;


/**
* 数据字典 实体类
*/
@TableName("t_sys_dict")
public class SysDict extends BaseEntity<String> {
    @TableId(value = "id", type = IdType.UUID)
    private String id;
    @TableField(value = "param_key")
    private String paramKey; //键
    @TableField(value = "key_comment")
    private String keyComment; //字典备注
    @TableField(value = "data_type")
    private String dataType; //数据类型
    @TableField(value = "param_value")
    private String paramValue; //值
    @TableField(value = "value_comment")
    private String valueComment; //值备注
    @TableField(value = "param_order")
    private Integer paramOrder; //排序顺序，正序

    /*----------------------get set 方法----------------------*/
    public String getId() {return id;}
    public void setId(String id) {this.id = id;}
    public String getParamKey() {return paramKey;}
    public void setParamKey(String paramKey){this.paramKey = paramKey == null ? null : paramKey.trim();}
    public String getKeyComment() {return keyComment;}
    public void setKeyComment(String keyComment){this.keyComment = keyComment == null ? null : keyComment.trim();}
    public String getDataType() {return dataType;}
    public void setDataType(String dataType){this.dataType = dataType == null ? null : dataType.trim();}
    public String getParamValue() {return paramValue;}
    public void setParamValue(String paramValue){this.paramValue = paramValue == null ? null : paramValue.trim();}
    public String getValueComment() {return valueComment;}
    public void setValueComment(String valueComment){this.valueComment = valueComment == null ? null : valueComment.trim();}
    public Integer getParamOrder() {return paramOrder;}
    public void setParamOrder(Integer paramOrder){this.paramOrder = paramOrder;}
    /*----------------------toString 方法----------------------*/
    @Override
    public String toString() {
        return "SysDict{" +
        "id='" + getId() + '\'' + ',' + 
        "paramKey='" + getParamKey() + '\'' + ',' + 
        "keyComment='" + getKeyComment() + '\'' + ',' + 
        "dataType='" + getDataType() + '\'' + ',' + 
        "paramValue='" + getParamValue() + '\'' + ',' + 
        "valueComment='" + getValueComment() + '\'' + ',' + 
        "paramOrder='" + getParamOrder() + '\'' + ',' + 
        "createTime='" + getCreateTime() + '\'' + ',' + 
        "creator='" + getCreator() + '\'' + ',' + 
        "updateTime='" + getUpdateTime() + '\'' + ',' + 
        "updater='" + getUpdater() + '\'' + ',' + 
        "activate='" + getActivate() + '\'' + 
        '}';
    }
}
